package com.ch.clinking.bean;

import androidx.annotation.NonNull;
import androidx.room.Entity;
import androidx.room.PrimaryKey;

@Entity
public class Shop {

    @PrimaryKey(autoGenerate = true)
    private Integer id;

    //店铺ID为创建者的手机号码
    @NonNull
    private String shopId;
    //商户类型
    private String shopType;
    //店铺名称
    private String shopName;

    //超级管理员昵称
    private String superAdminNickName;
    //超级管理员用户名（账号）
    private String superAdminAccount;

    private String accessToken;

    private int totalSale;

    private int status;

    private String remark;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    @NonNull
    public String getShopId() {
        return shopId;
    }

    public void setShopId(@NonNull String shopId) {
        this.shopId = shopId;
    }

    public String getShopType() {
        return shopType;
    }

    public void setShopType(String shopType) {
        this.shopType = shopType;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public String getSuperAdminNickName() {
        return superAdminNickName;
    }

    public void setSuperAdminNickName(String superAdminNickName) {
        this.superAdminNickName = superAdminNickName;
    }

    public String getSuperAdminAccount() {
        return superAdminAccount;
    }

    public void setSuperAdminAccount(String superAdminAccount) {
        this.superAdminAccount = superAdminAccount;
    }

    public int getTotalSale() {
        return totalSale;
    }

    public void setTotalSale(int totalSale) {
        this.totalSale = totalSale;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    @Override
    public String toString() {
        return "Shop{" +
                "id=" + id +
                ", shopId='" + shopId + '\'' +
                ", shopType='" + shopType + '\'' +
                ", shopName='" + shopName + '\'' +
                ", superAdminNickName='" + superAdminNickName + '\'' +
                ", superAdminAccount='" + superAdminAccount + '\'' +
                ", accessToken='" + accessToken + '\'' +
                ", totalSale=" + totalSale +
                ", status=" + status +
                ", remark='" + remark + '\'' +
                '}';
    }
}
